/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.metasketch.model.loader;

import java.util.Collection;
import java.util.Map;

/**
 * 
 * @author guilhermegrg
 */
public interface IGraphDatabase {

	// store methods
	public void storeNode(GraphNode node);

	// search methods
	public GraphNode getById(String name);

	public GraphNode getSingleByName(String name);

	public Collection<GraphNode> getByName(String name);
	
	public Collection<GraphNode> getByType(String name);

	Collection<GraphNode> getNodes();

}
